﻿using System;
using VK.Client;

namespace VK.Exceptions.Api
{
    public static class ExceptionMapper
    {
        public static Exception parse(VKApiError error)
        {
            return new Exception(error.error_msg);
        }      
    }
}